package com.yuanfengPlus.inventoryAdjustment.service;




import com.yuanfengPlus.inventoryAdjustment.entity.InventoryAdjustment;
import com.yuanfengPlus.utils.Result;

import java.util.List;
import java.util.Map;

public interface IInventoryAdjustmentService {
    //  根据条件查询所有采购订单
    Result<List<InventoryAdjustment>> queryInventoryAdjustment(Map<String, Object> params);
    //  新增采购订单
    Result<String> addInventoryAdjustment(InventoryAdjustment inventoryAdjustment);
    //  查看单条采购订单
    Result<InventoryAdjustment> queryInventoryAdjustmentById(String document_ID);
    //  修改单条采购订单
    Result<String> updateInventoryAdjustmentById(InventoryAdjustment inventoryAdjustment);
    //  删除单条采购订单
    Result<String> deleteInventoryAdjustment(String document_ID);
    //  单条审核通过采购订单，接收到的是一个包含出库单ID的数组
    Result<String> updateInventoryAdjustmentAgree(String document_ID);
    //  单条审核拒绝采购订单
    Result<String> updateInventoryAdjustmentRefuse(String document_ID);
}
